package com.pachong.baidumaplib.location.entity;

import java.util.List;

/**
 * Created by Administrator on 2016/6/24.
 */
public class Entity {

    /**
     * city : {"name":"北京","pinyin":"bei jing","code":"110100"}
     * first : b
     */

    private List<AllBean> all;
    /**
     * name : 北京
     * pinyin : bei jing
     * code : 110100
     */

    private List<HeatBean> heat;

    public List<AllBean> getAll() {
        return all;
    }

    public void setAll(List<AllBean> all) {
        this.all = all;
    }

    public List<HeatBean> getHeat() {
        return heat;
    }

    public void setHeat(List<HeatBean> heat) {
        this.heat = heat;
    }

    public static class AllBean {

        /**
         * name : 北京
         * pinyin : bei jing
         * code : 110100
         */

        private CityBean city;
        private String first;

        public CityBean getCity() {
            return city;
        }

        public void setCity(CityBean city) {
            this.city = city;
        }

        public String getFirst() {
            return first;
        }

        public void setFirst(String first) {
            this.first = first;
        }

        public static class CityBean {
            private String name;
            private String pinyin;
            private String code;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPinyin() {
                return pinyin;
            }

            public void setPinyin(String pinyin) {
                this.pinyin = pinyin;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }
        }
    }

    public static class HeatBean {
        private String name;
        private String pinyin;
        private String code;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }
    }
}
